package com.demo2do.fms.admin.service.supplier;

import java.util.List;

import com.demo2do.fms.admin.service.DataService;
import com.demo2do.fms.entity.supplier.common.Supplier;
import com.demo2do.fms.entity.supplier.common.SupplierStaff;

/**
 * 
 * @author Wy
 *
 */
public interface SupplierStaffService extends DataService<SupplierStaff>{
    
    /**
     * list SupplierStaff by supplierId
     * 
     * @param supplierId
     * @return
     */
    public List<SupplierStaff> listSupplierStaff(Long supplierId);
    
   /**
    * 
    * @param supplierId
    * @param keyPost
    * @return
    */
    public SupplierStaff getSupplierStaff(Long supplierId , String keyPost);
    
    /**
     * @param supplierStaff
     * @param supplier
     * @param operator
     */
    public void create(SupplierStaff supplierStaff, Supplier supplier, Long operator);
    
    /**
     * @param SupplierStaff
     * @param operator
     */
    public void edit(SupplierStaff SupplierStaff, Long operator);

    /**
     * 一般存储供方查询关键岗位
     * @param supplierId
     * @return
     */
    List<SupplierStaff> listCommonStorageSupplierStaff(Long supplierId);
}
